package com.itjeffrey.autocode.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

/**
 * 实体类
 *
 * @author: admin
 * @date: 2021-06-10 00:48:05
 */
@TableName("db_conn_tb")
public class DbConnTbEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 连接次数，第几次连接
     */
    private Integer connCount;

    /**
     * 连接状态 0-未连接 1-已连接
     */
    private String connSts;

    /**
     * 建立连接时间
     */
    private Date connTime;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 创建人
     */
    private String createUser;

    /**
     * 数据库名称
     */
    private String dbName;

    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 更新人
     */
    private String updateUser;

    public void setConnCount(Integer connCount) {
        this.connCount = connCount;
    }

    public Integer getConnCount() {
        return this.connCount;
    }

    public void setConnSts(String connSts) {
        this.connSts = connSts;
    }

    public String getConnSts() {
        return this.connSts;
    }

    public void setConnTime(Date connTime) {
        this.connTime = connTime;
    }

    public Date getConnTime() {
        return this.connTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCreateUser() {
        return this.createUser;
    }

    public void setDbName(String dbName) {
        this.dbName = dbName;
    }

    public String getDbName() {
        return this.dbName;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return this.id;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getUpdateTime() {
        return this.updateTime;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() {
        return this.updateUser;
    }

    @Override
    public String toString() {
        return "DbConnTb{connCount='" + connCount + "', connSts='" + connSts + "', connTime='" + connTime + "', " +
                "createTime='" + createTime + "', createUser='" + createUser + "', dbName='" + dbName + "', id='" +
                id + "', updateTime='" + updateTime + "', updateUser='" + updateUser + "'}";
    }
}